package com.c611.smartclassroom.service;

import com.c611.smartclassroom.dto.AllClassRoomDto;
import com.c611.smartclassroom.model.ClassRoom;
import com.c611.smartclassroom.model.ObjectSelect;
import com.c611.smartclassroom.model.School;
import com.c611.smartclassroom.model.SchoolBuildSelect;

import java.util.List;

public interface SchoolService {

    List<School> queryAllSchool(Integer page,Integer pageSize);

    List<School> queryAllSchoolByschoolName(Integer page,Integer pageSize,String schoolName);

    long queryAllSchoolCountByschoolName(String schoolName);

    int setWeChat(String schoolID, String weChat);


    int addSchool(School school);


    int saveSchool(School school);


    int delSchool(String schoolID);

    List<ObjectSelect> getAllSchoolName(); //yw
    List<ClassRoom> queryCalss(String buildID);
    List<SchoolBuildSelect> getAllSchoolBuildName(); //yw
    List<ObjectSelect> getAlltBuildNameIDByschoolId(String schoolID);

    List<AllClassRoomDto> getAllSchoolBuildRoom();

    long querySchoolCount();

    int checkSchoolId(String schoolid);
}
